package com.wds.controller;


import com.wds.domain.JsonResult;
import com.wds.service.LinkService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 友链(Link)控制层
 *
 * @author wds
 * @since 2022-10-23 18:01:00
 */
@RestController
@RequestMapping("/link")
@Api(tags = "友链接口")
public class LinkController {

    @Autowired
    private LinkService linkService;


    @GetMapping("/getAllLink")
    public JsonResult<Object> getAllLink() {
        return linkService.getAllLink();
    }

}

